//
// Created by dong on 2025/10/22.
//

#ifndef SDL_DRAW_TOOLS_STRIANGLE_H
#define SDL_DRAW_TOOLS_STRIANGLE_H
#include "Shape.h"


class STriangle:public Shape
{
public:
    STriangle(SDL_Rect rect,SDL_Color color={0});
    void render(SDL_Renderer* render) override;
    string name() const override;
protected:
    SDL_Rect m_rect;
    string m_name;
};


#endif //SDL_DRAW_TOOLS_STRIANGLE_H